<script setup lang="ts" name="Home">
import { onMounted, onUnmounted } from 'vue'

onMounted(() => {
  console.log('Home 组件挂载了！')
})
onUnmounted(() => {
  console.log('Home 组件卸载了！')
})
</script>

<template>
  <div class="home">
    <img src="http://www.atguigu.com/images/index_new/logo.png" alt="" />
  </div>
</template>

<style scoped>
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
</style>
